package com.tem.purchase.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("supplier_type")
@ApiModel(value="SupplierType对象", description="")
public class SupplierType implements Serializable {
    private static final long serialVersionUID=456676798012345L;
    @ApiModelProperty(value = "供应商分类")
    @TableId(value = "supplier_type_id", type = IdType.AUTO)
    private Long supplierTypeId;

    @ApiModelProperty(value = "企业")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "系统")
    @TableField("system_level_id")
    private Long systemLevelId;

    @ApiModelProperty(value = "父id")
    @TableField("parent_id")
    private Long parentId;

    @ApiModelProperty(value = "名称")
    @TableField("type_name")
    private String typeName;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
